<?php
    /**
     * Created by PhpStorm.
     * User: mybook-lhp
     * Date: 18/9/19
     * Time: 下午4:53
     */

    namespace app\member\model;


    use think\Model;

    class SupportModel extends Model
    {

        protected $name = 'member_support';

        // 自动写入时间戳
        protected $autoWriteTimestamp = true;

        //时间戳转换
        protected $dateFormat = 'Y/m/d H:s';

        public function setCreateTimeAttr($value)
        {

            return format_time($value);
        }

    }